package com.gun.management.module.raffle.controller.app.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "app - 用户中奖记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppUserLotteryLogRespVO {
    /**
     * id
     */
    @TableField(exist = false)
    @Schema(description = "中奖记录编号")
    @ExcelProperty("中奖记录编号")
    private Long id;

    @Schema(description = "中奖时间")
    @ExcelProperty("中奖时间")
    private String lotteryTime;

    /**
     * 奖品名称
     */
    @TableField(exist = false)
    @Schema(description = "奖品名称")
    @ExcelProperty("奖品名称")
    private String prizeName;

    /**
     * sku名称
     */
    @Schema(description = "sku名称")
    @TableField(exist = false)
    @ExcelProperty("sku名称")
    private String sku;

    /**
     * 奖品主图地址
     */
    @TableField(exist = false)
    @Schema(description = "奖品主图地址")
    @ExcelProperty("奖品主图地址")
    private String avatar;


    /**
     * 奖品类型id
     */
    @TableField(exist = false)
    @Schema(description = "奖品类型id")
    private Long categoryId;

    /**
     * 奖品类型
     */
    @TableField(exist = false)
    @Schema(description = "奖品类型")
    private String categoryName;



    /**
     * 抽奖名称
     */
    @Schema(description = "抽奖名称",example = "九宫格活动1")
    private String lotteryName;



    /**
     * 使用积分
     */
    @Schema(description = "使用积分",example = "10")
    private String expenseScore;

    /**
     * 奖品状态
     */
    @Schema(description = "奖品状态(0:待领取 1：已领取未处理 2:处理成功 3:处理失败)",example = "0")
    private String prizeStatus;

    /**
     * 订单编号
     */
    @Schema(description = "订单编号",example = "1235")
    private String orderNo;

    /**
     * 状态更新时间
     */
    @Schema(description = "状态更新时间")
    private String updateTime;

}